package top.qitun.modal.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import top.qitun.model.request.RestfulRequest;

/**
 * @author Zhao Junjian
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class ProductCreateRequest extends RestfulRequest {
	private static final long serialVersionUID = -1;

	@ApiModelProperty(value = "菜单名称", example = "霸王兔", required = true)
	private String name;// 名称
	@ApiModelProperty(value = "价格", example = "25.23", required = true)
	private Double price;// 价格
	@ApiModelProperty(value = "简介", example = "山里的兔子好吃", required = false)
	private String intro;// 简介
	@ApiModelProperty(value = "图片地址", example = "http://qcloud.dpfile.com/pc/3ZdxQjmz855z8pvSRn0bTugRqZkg5qgmoNRV4t7F4Tq5VhRF43tC2I8Pb2CK8ZZ_TYGVDmosZWTLal1WbWRW3A.jpg", required = false)
	private String pic;// 图片地址
	@ApiModelProperty(value = "详细介绍", example = "山里来的兔子,肉嫩,鲜香,麻辣", required = false)
	private String memo;// 详细介绍
	@ApiModelProperty(value = "店铺Id", example = "4", required = true)
	private Integer shopId;
	
	public Integer getShopId() {
		return shopId;
	}
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	
}
